{"version":3,"sources":["script.js"],"names":["BX","namespace","Rest","Markeplace","Category","init","params","this","signedParameters","filterId","leftMenuItems","findChildren","attribute","bx-role","items","tagName","i","length","href","util","add_url_param","IFRAME","initEvents","Page","addCustomEvent","onApplyFilter","bind","clickMPMenu","clickMPAllLink","nodeMenu","Filter","Main","filterManager","getById","role","getAttribute","FilterApi","getApi","setFields","SALE_OUT","apply","category","CATEGORY","__marketplaceFilter","filterMode","filterValue","id","data","ctx","promise","item","activeItem","getFilterFieldsValues","removeClass","parentNode","hasClass","addClass","autoResolve","reloadPage","filter","loader","Loader","target","offset","top","show","ajax","runComponentAction","mode","then","ob","processHTML","innerHTML","HTML","setTimeout","processScripts","SCRIPT","hide","fulfill","reject","Items","pageCount","Number","currentPageNumber","type","isDomNode","loadPage","navigation","page","hasOwnProperty","window","gridTile","appendItem","remove","Marketplace","TileGrid","Item","options","arguments","title","NAME","developer","PARTNER_NAME","shortDesc","SHORT_DESC","secondaryDesc","SECONDARY_DESC","image","ICON","onclick","ONCLICK","feedback","FEEDBACK","layout","container","labels","clipTitle","company","controls","buttonAction","price","currency","period","payment","PRICE","rate","action","message","installed","INSTALLED","url","URL","promo","PROMO","LABELS","recommended","prototype","__proto__","constructor","getContent","getFeedbackContent","getApplicationContent","create","props","className","children","getLabels","getImage","getTitle","getDesc","getControls","getStatus","getSecondaryDesc","status","getStatusPromo","getStatusInstalled","getStatusTop","text","toUpperCase","getStatusRecommended","style","backgroundImage","hasAttribute","backgroundSize","isArray","j","res","color","Math","min","isNotEmptyString","push","substring","backgroundColor","borderColor","join","getClickEvent","Function","delegate","SidePanel","Instance","open","events","click","desc","hasSecondDesc","isString","html","afterRender","offsetHeight","a","slice"],"mappings":"AAAA,aAEAA,GAAGC,UAAU,+BAEbD,GAAGE,KAAKC,WAAWC,UAClBC,KAAM,SAAUC,GAEfC,KAAKC,iBAAmBF,EAAOE,qBAC/BD,KAAKE,SAAWH,EAAOG,SAEvBF,KAAKG,cAAgBV,GAAGW,aAA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